package com.shuyuntu.proposal.dao;

import com.shuyuntu.proposal.dao.base.IBaseDao;
import com.shuyuntu.proposal.entity.Proposal;
import org.hibernate.criterion.Criterion;
import org.hibernate.criterion.Order;

import java.util.List;

/**
 * 访问提案的数据访问物件的接口
 *
 * @author limeng
 * Created by limeng on 16-4-17.
 */
public interface IProposalDao extends IBaseDao<Proposal, Integer> {
    List<Proposal> querySearchPageList(int pageNo, int pageSize, StringBuffer rowCount, Order order, Criterion... criterions);
    List<Proposal> queryProposalsByAssistDepartmentId(
            int pageNo, int pageSize, String assistDepartmentId, StringBuffer rowCount);
}
